cmake_minimum_required(VERSION 3.10)
project(rldemo)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_definitions(-D_USE_MATH_DEFINES)
find_package(RL COMPONENTS MDL REQUIRED)

message("RL_LIBRARIES = ${RL_LIBRARIES}")
add_executable(rl_MdlDemo MdlDemo.cpp)
target_link_libraries(rl_MdlDemo ${RL_LIBRARIES})